
--小飞飞啊
--qq：771501117

reaper.Undo_BeginBlock()
reaper.PreventUIRefresh(1)
local it = reaper.GetSelectedMediaItem(0, 0)
if not it then
    return
end
reaper.Main_OnCommand(41173, 0)
reaper.Main_OnCommand(40375, 0)
reaper.Main_OnCommand(41561, 0)
local sl = reaper.GetMediaItemInfo_Value(it, "C_MUTE_SOLO")
if sl == 0 then
    reaper.Main_OnCommand(1016, 0)
else
    reaper.Main_OnCommand(1007, 0)
end
reaper.PreventUIRefresh(-1)
reaper.UpdateArrange()
reaper.Undo_EndBlock("06.小飞飞啊_从选中音频起点独奏", -1)
